<template>
        <div>
                <van-nav-bar title="新增地址"
                             left-text="返回"
                             right-text="..."
                             left-arrow
                             @click-left="$router.go(-1)" />
        </div>
</template>

<script>
import { address_add } from "../utils/api"
export default {
        mounted () {
                var userid = JSON.parse(localStorage.getItem('userinfo')).id;
                address_add({ userid }).then((ok) => {
                        console.log(ok.data.list)
                        this.addresslist = ok.data.list

                })
        }

}
</script>

<style>
</style>